<div class="col-md-6 content" ng-controller="roleListCtrl">
	<h2>用户角色</h2>
	<br>
	<div class="row col-md-12">
		<table class="table table-bordered">
			<thead>
				<tr>
					<th>名称</th>
					<th>描述</th>
					<th>创建时间</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="role in roles">
					<td>{{ role.r_name }}</td>
					<td>test11</td>
					<td>{{ role.create_time*1000 | date:'yyyy-MM-dd HH:mm:ss '}}</td>
					<td>
						<a href="#">设置</a>
						|
						<a href="#" ui-sref="/admin.role_sm({id:role._id})">查看</a>
						|
						<a href="" ng-click="del(role, $event)">删除</a>
					</td>
				</tr>
			</tr>
		</tbody>
	</table>
</div>

<a href="#" class="btn btn-primary" ui-sref="/admin.role_manage">添加角色</a>
</div>